//模块接口文件Application interface
//高内聚 低耦合
import request from "./core";
import {URL,METHOD} from "./config";

//提供不同业务请求函数
export default {
  install(Vue){
    Vue.prototype.$APIClient = this;
  },
  /**
   * 
   * @param {*} params 
   * @returns 
   * 
   */
  async getStoreList(params){
    let res = await request({
     url:URL.STORE_LIST,
     method:METHOD.GET,
     params:params
   });
   return res;
  }
}







